Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Chainflip exchange provider #1807

Merged
merged 8 commits into from
Jan 20, 2025

Conversation

CumpsD
Copy link
Contributor

@CumpsD CumpsD commented Nov 15, 2024

Adds Chainflip as an exchange provider to offer routes for BTC, ETH, USDC, USDT, FLIP, SOL and solUSDC.

Also added some other small additions:

  • Added FLIP token
  • Received amounts are now visible on the transactions page

I have taken the same commission as used on Thorchain.

Test swap done:

I have only tested with USDC, USDT and ETH.

Here are some screenshots of the provider in action:

Starting swap

Screenshot 2024-11-15 at 21 34 46

Confirming amount

Screenshot 2024-11-15 at 21 35 02

Checking swap info

Screenshot 2024-11-15 at 21 35 09

Confirming send

Screenshot 2024-11-15 at 21 35 19

Trade visible in overview

Screenshot 2024-11-15 at 21 35 36

Trade waiting for funds to arrive

Screenshot 2024-11-15 at 21 35 40

Funds incoming at Chainflip explorer page

Screenshot 2024-11-15 at 21 35 53

Funds being sent out of Chainflip

Screenshot 2024-11-15 at 21 38 12

Funds sent out from Chainflip

Screenshot 2024-11-15 at 21 42 05

Swap success in trade detail

Screenshot 2024-11-15 at 21 56 55

Overview update with real received amount

Screenshot 2024-11-15 at 21 56 59

feat: add chainflip provider (fetchLimits and fetchRate)
feat: add createTrade
feat: add icon
feat: add swap status
feat: add FLIP to list
feat: add to transaction list, with target amount
feat: update receivedAmount with real values
style: dart formatting
feat: update received amount
chore: cleanup space and typo
@CumpsD CumpsD marked this pull request as ready for review November 15, 2024 21:49
@OmarHatem28 OmarHatem28 changed the base branch from main to chainflip-integration January 20, 2025 15:09
@OmarHatem28 OmarHatem28 merged commit 591446f into cake-tech:chainflip-integration Jan 20, 2025
OmarHatem28 added a commit that referenced this pull request Jan 24, 2025
* Add Chainflip exchange provider (#1807)

* feat: add Chainflip exchange provider

feat: add chainflip provider (fetchLimits and fetchRate)
feat: add createTrade
feat: add icon
feat: add swap status
feat: add FLIP to list
feat: add to transaction list, with target amount
feat: update receivedAmount with real values
style: dart formatting
feat: update received amount
chore: cleanup space and typo

* fix: use correct retryDurationInBlocks

* feat: use secrets for api key

---------

Co-authored-by: Omar Hatem <[email protected]>

* Add secrets to workflow

* revert boostfee change

* minor ui fix [skip ci]

---------

Co-authored-by: David Cumps <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants